package cn.dust.design.pattern.creational.builder.v2;

/**
 * @Author: dust
 * @Date: 2019/11/25 17:39
 */
public class Test {

    public static void main(String[] args) {
        Hero hero=new Hero.HeroBuilder().buildHeroName("ddd").buildHeroQ("qqq").buildHeroW("www").buildHeroE("eee").buildHeroR("rrr").build();
        System.out.println(hero.toString());
    }
}
